package com.fps.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.dao.BasememoryDao;
import com.fps.web.model.Basememory;
import com.fps.web.service.BasememoryService;
@Service
@Transactional
public class BasememoryServiceImpl implements BasememoryService{
    
    @Autowired
    BasememoryDao basememoryDao;
    public PageEntity queryBasememoryList(PageEntity pageEntity)  throws BusinessException{
     	return basememoryDao.queryBasememoryList(pageEntity);
    }
	public Basememory addBasememory(Basememory basememory)  throws BusinessException{
		return basememoryDao.addBasememory(basememory);
	}
	public Basememory updateBasememory(Basememory basememory)  throws BusinessException{
		return basememoryDao.updateBasememory(basememory);
	}
	public Basememory queryBasememoryByID(String id)  throws BusinessException{
		return basememoryDao.queryBasememoryByID(id);
	}
	public Boolean deleteBasememory(Basememory basememory)  throws BusinessException{
		return basememoryDao.deleteBasememory(basememory);
	}
}
